package demo.user.controller;

import demo.common.domain.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Chen Jie
 * @email jie.chen@remarkdip.com
 * @date 2018/7/23
 */
@RestController
@RequestMapping("/demo")
public class UserController {
    @GetMapping("user")
    public Result getUser() {
        return new Result<>("success", true);
    }
}
